package zhongbo.javaweb.instagram.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 说明：
 *
 * @author zhongboWork
 * @version 1.0
 * @since 2021-12-27 15:58
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "用户信息", description = "rest 返回对象结构模型")
public class User extends BaseModel {
    @ApiModelProperty(name = "用户账号", value = "用户名")
    private String username;
    @ApiModelProperty(name = "用户密码", value = "密码")
    private String password;
    @ApiModelProperty(name = "用户最新cookies", value = "cookies")
    private String cookies;
    @ApiModelProperty(name = "是否启用该用户", value = "启用状态")
    private boolean enabled;
    @ApiModelProperty(name = "该用户最后一次登录是否成功", value = "可用状态")
    private boolean available;
    @ApiModelProperty(name = "该用户是否被封", value = "封停状态")
    private boolean baned;
    @ApiModelProperty(name = "该用户检测被封时间", value = "封停时间")
    private long banedTime;
}
